<AppInput
{{#eq ctrlType 'grid'}}
  name="{{#if dataItemName}}{{dataItemName}}{{else}}{{item.codeName}}{{/if}}"
{{/eq}}
{{#eq ctrlType 'panel'}}
  name="{{item.name}}"
{{/eq}}
{{#eq ctrlType 'form'}}
  name="{{item.codeName}}"
{{/eq}}
{{#if (eq ctrlType 'form')}}
  :isDebounce="false"
  :disabled="store.detailModel.{{item.codeName}}.disabled"
{{else if (eq ctrlType 'grid')}}
  :isDebounce="true"
  {{#if (eq item.enableCond 0)}}
  :disabled="true"
  {{else if (eq item.enableCond 1)}}
  :disabled="!Object.is(record.srfuf,0)"
  {{else if (eq item.enableCond 2)}}
  :disabled="!Object.is(record.srfuf,1)"
  {{/if}}
{{else if (eq ctrlType 'panel')}}
  :isDebounce="true"
  {{#if isMultiData}}
  :disabled="store?.layoutModelDetails?.[`{{item.name}}_${data.index}`]?.disabled ? true : false"
  :value="store.layoutData[`{{item.name}}_${data.index}`]"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam, data.index) }"
  {{else}}
  :disabled="store?.layoutModelDetails?.{{item.name}}?.disabled ? true : false"
  :value="store.layoutData.{{item.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
  {{/if}}
{{/if}}
{{#if item.psEditor.placeHolder}}
  placeholder="{{item.psEditor.placeHolder}}"
{{/if}}
{{#if item.psEditor.readOnly}}
  :readOnly="{{item.psEditor.readOnly}}"
{{/if}}
{{#if item.valueFormat}}
  valueFormat="{{item.valueFormat}}"
{{else if item.psAppDEField.valueFormat}}
  valueFormat="{{item.psAppDEField.valueFormat}}"
{{/if}}
{{#if item.psEditor.editorParams}}
  {{#if item.psEditor.editorParams.max}}
  :max="{{item.psEditor.editorParams.max}}"
  {{/if}}
  {{#if item.psEditor.editorParams.min}}
  :min="{{item.psEditor.editorParams.min}}"
  {{/if}}
  {{#if item.psEditor.editorParams.precision}}
  :precision="{{item.psEditor.editorParams.precision}}"
  {{/if}}
  {{#if item.psEditor.editorParams.maxLength}}
  :maxLength="{{item.psEditor.editorParams.maxLength}}"
  {{/if}}
  {{#if item.psEditor.editorParams.showMaxLength}}
  :showMaxLength="{{item.psEditor.editorParams.showMaxLength}}"
  {{/if}}
  {{#if item.psEditor.editorParams.rows}}
  :rows="{{item.psEditor.editorParams.rows}}"
  {{/if}}
   {{#if item.psEditor.editorParams.enableShowPwd}}
  :visibilityToggle="{{item.psEditor.editorParams.enableShowPwd}}"
  {{/if}}
  {{#if item.psEditor.editorParams.size}}
  size="{{item.psEditor.editorParams.size}}"
  {{/if}}
{{/if}}
{{#if item.unitName}}
  unit="{{item.unitName}}"
{{/if}}
{{#eq item.psEditor.editorType "TEXTBOX"}}
  type="text"
{{/eq}}
{{#eq item.psEditor.editorType "NUMBER"}}
  type="number"
{{/eq}}
{{#eq item.psEditor.editorType "PASSWORD"}}
  type="password"
{{/eq}}
{{#eq item.psEditor.editorType "TEXTAREA"}}
  type="textarea"
{{/eq}}
{{#eq item.psEditor.editorType "TEXTAREA_10"}}
  :isTextArea10="true"
  type="textarea"
{{/eq}}
  style="{{#if item.psEditor.editorWidth}}width: {{item.psEditor.editorWidth}}px;{{/if}}{{#if item.psEditor.editorHeight}}height: {{item.psEditor.editorHeight}}px{{/if}}"
{{#eq ctrlType 'form'}}
  :value="store.data.{{item.psEditor.name}}"
  @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
{{/eq}}
{{#eq ctrlType 'grid'}}
  :value="record.{{#if dataItemName}}{{dataItemName}}{{else}}{{item.psEditor.name}}{{/if}}"
  @component-action="(actionParam:any) => { handleComponentAction(controller, actionParam, index) }"
{{/eq}}
/>
